<!DOCTYPE html>
<html lang="en">
	<head>
		<title><block name="title">{$Think.config.SITENAME}</block></title>
		<link rel="Bookmark" href="__PUBLIC__/common/img/favicon.ico" >
		<link rel="Shortcut Icon" href="__PUBLIC__/common/img/favicon.ico" />
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="cache-control" content="no-cache">  <!-- 缓存机制设置 --强制缓存从服务器上获取新的页面--->
		<!-- 引入css或js文件 -->
		<include file="Public:import_header" />
		<style>
			h3.web-title,
			h3.web-title a { font-family:"微软雅黑"; font-size:24px; font-weight:normal; color:#FFF; margin:0; padding:12px;  }
		</style>
		<!-- ------------------being block------------------- -->
		<block name="appendheader"></block>
		<!-- ------------------ end block ------------------- -->
		<script type = "text/javascript">
			function delRuntime() {
				$.ajax({
					type:'POST',
					dataType:'json',
					url:'__APP__?g=Admin&m=Index&a=delRuntime',
					success:function(data){
						if(data.status == '1') {
							alert("更新缓存成功！");
						} else {
							alert("更新缓存失败！");
						}
					},
					error:function(data){
						alert("更新缓存失败！");
					}
				});
			}
		</script>
	</head>
	<body>
		<div>
			<!--返回顶部-->
			<a id="totop" href="#"><i class="fa fa-angle-up"></i></a>
			<!--顶部工具栏开始-->
			<div id="header-topbar-option-demo" class="page-header-topbar">
			<!-- nav定义导航链接部分 -->
				<nav id="topbar" role="navigation" style="margin-bottom: 0; z-index: 2;" class="navbar navbar-default navbar-static-top">
					<div class="navbar-header">
						<button type="button" data-toggle="collapse" data-target=".sidebar-collapse" class="navbar-toggle"><!-- 折叠 -->
							<span class="sr-only">Toggle navigation</span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
						</button>
						<a id="logo" href="__APP__?g=Index" class="navbar-brand">
							<span class="fa fa-rocket"></span>
							<span class="logo-text" style="font-family:'宋体';font-size:26px;">{$Think.config.SITENAME}</span>
							<span style="display:none" class="logo-text-icon">D</span><!-- 内联元素，不显示 -->
						</a>
					</div>
					<div class="topbar-main">
						<a id="menu-toggle" href="#" class="hidden-xs"><i class="fa fa-bars"></i></a>
						<ul class="nav navbar navbar-top-links navbar-right mbn">
							<li class="dropdown topbar-user">
								<a data-hover="dropdown" href="#" class="dropdown-toggle"><img src="__ROOT__/{$login_user_info.user_img}" onerror="this.src='__PUBLIC__/common/img/default-user-50-50.png';this.onerror=null;" class="img-responsive img-circle" />&nbsp;<span class="hidden-xs">{$login_user_info.user_real_name}</span>&nbsp;<span class="caret"></span></a>
								<ul style="right:auto;min-width:116px" class="dropdown-menu dropdown-user pull-right">
									<li><a href="__APP__?g=Admin&m=Public&a=change_pwd"><i class="fa fa-edit"></i>修改密码</a></li>
									<eq name="login_user_info['user_name']" value="$Think.config.admin_name">
										<li><a href="javascript:delRuntime();"><i class="fa fa-repeat"></i>更新缓存</a></li>
									</eq>
									<li><a href="__APP__?g=Admin&m=Public&a=admin_logout"><i class="fa fa-key"></i>退出</a></li>
								</ul>
							</li>
						</ul>
					</div>
				</nav>
			</div>
			<!--顶部工具栏结束-->
			<div id="wrapper">
				<!-- 功能菜单 -->
				{:R('Admin/Common/menu')}
				<!--右侧工作区容器开始-->
				<div id="page-wrapper">
					<!--当前位置开始-->
					<div id="title-breadcrumb-option-demo" class="page-title-breadcrumb">
						<!-- ------------------being block------------------- -->
						<block name="breadcrumb">
							<div class="page-header pull-left">
								<div class="page-title">当前功能</div>
							</div>
							<ol class="breadcrumb page-breadcrumb pull-left">
								<li><i class="fa fa-home"></i>&nbsp;<a href="__APP__?g=Admin">首页</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;</li>
								<li><a href="#">系统设置</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;</li>
								<li class="active">修改密码</li>
							</ol>
						</block>
						<!-- ------------------ end block ------------------- -->
						<div class="clearfix"></div>
					</div>
					<!--当前位置结束-->
					<!--主内容区开始-->
					<div class="page-content">
						<!-- ------------------being block------------------- -->
						<block name="main_content">
							<div class="row">
								<div class="col-md-12">主内容区</div>
							</div>
						</block>
						<!-- ------------------ end block ------------------- -->
					</div>
					<!--主内容区结束-->
				</div>
				<!--底部版权信息开始-->
				<div id="footer">
					<div class="copyright">
						<p style="margin:0;text-align:center;">Copyright© 2021—2021. All Rights Reserved.</p>
					</div>
				</div>
				<!--底部版权信息结束-->
				<!--右侧工作区容器结束-->
			</div>
		</div>
		<!-- html末尾引入js文件（在末尾引入可以提高页面内容加载速度） -->
		<include file="Public:import_footer" />
		<!-- ------------------being block------------------- -->
		<block name="appendfooter"></block>
		<!-- ------------------ end block ------------------- -->
	</body>
</html>